package com.steve.xfood.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 配置文件微信授权读取
 * @author steve
 * @date 2020/5/26 16:40
 */
@Component
//@ConfigurationProperties(prefix = "projectUrl") springboot 1.5
@ConfigurationProperties(prefix = "project-url")
@Data
public class ProjectUrlConfig {

    /**
     * 微信公众平台授权url
     */
    private String wechatMpAuthorize;

    /**
     * 微信开放平台授权url
     */
    private String wechatOpenAuthorize;

    private String sell;
}
